Skip to content

chore: adding a single player session section#4062

Open
NoelStephensUnity wants to merge 8 commits into
develop-2.0.0from
doc/singleplayer-transport-addition
Open

chore: adding a single player session section#4062
NoelStephensUnity wants to merge 8 commits into
develop-2.0.0from
doc/singleplayer-transport-addition

Conversation

@NoelStephensUnity

@NoelStephensUnity NoelStephensUnity commented Jun 30, 2026

Copy link
Copy Markdown
Member

Purpose of this PR

Adding single player session section under the configuration area after transports that provides users visibility to the SinglePlayerTransport as well as an example script.

Jira ticket

NA

Changelog

  • Added: Single player session section to provide users with information about SinglePlayerTransport and an example script of how to switch between single and multi player sessions.

Documentation

  • Includes added documentation for previously-undocumented single player sessions.

Testing & QA (How your changes can be verified during release Playtest)

Functional Testing

Manual testing :

  • Manual testing done

Automated tests:

  • Covered by existing automated tests
  • Covered by new automated tests
    • Added SwitchingTransportTypesTests to documentation tests.

Does the change require QA team to:

  • Review automated tests?
  • Execute manual tests?
  • Provide feedback about the PR?

If any boxes above are checked the QA team will be automatically added as a PR reviewer.

Backports

No back port is required.

Up-port

No up-port required for this PR.
This will get migrated into v3.x.x when we release v2.13.1.

adding single player session section under the configuration area after transports.
Rearranged variable declarations and removed StartSinglePlayer method.
Using the newer approach to adding examples where the example script lives in the same integration test file that tests the example to assure it is always a working example.
Adding change log entry.
@NoelStephensUnity NoelStephensUnity marked this pull request as ready for review July 12, 2026 21:09
@NoelStephensUnity NoelStephensUnity requested review from a team and jabbacakes as code owners July 12, 2026 21:09
@NoelStephensUnity NoelStephensUnity enabled auto-merge (squash) July 16, 2026 16:07
@codecov-github-com

codecov-github-com Bot commented Jul 16, 2026

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

@@                Coverage Diff                @@
##           develop-2.0.0    #4062      +/-   ##
=================================================
+ Coverage          66.39%   66.43%   +0.04%     
=================================================
  Files                163      163              
  Lines              24999    24999              
=================================================
+ Hits               16597    16607      +10     
+ Misses              8402     8392      -10     
Flag Coverage Δ
NGOv2_ubuntu_6000.3 66.43% <ø> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 4 files with indirect coverage changes

Components Coverage Δ
com.unity.netcode.gameobjects 66.43% <ø> (+0.04%) ⬆️

ℹ️ Need help interpreting these results?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants